package cn.sonui.onlinechat.bean;

import java.util.List;

public class RoomInfo {
    //房间名
    private String name;
    //房间id
    private Integer roomId;
    //房间成员
    private List<Integer> member;
    //房间消息
    private List<Integer> msg;
    public RoomInfo(){}
    public RoomInfo(String name, Integer roomId, List<Integer> member, List<Integer> msg){
        this.name = name;
        this.roomId = roomId;
        this.member = member;
        this.msg = msg;
    }
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public List<Integer> getMember() {
        return member;
    }

    public void setMember(List<Integer> member) {
        this.member = member;
    }

    public Integer getRoomId() {
        return roomId;
    }

    public void setRoomId(Integer roomId) {
        this.roomId = roomId;
    }

    public List<Integer> getMsg() {
        return msg;
    }

    public void setMsg(List<Integer> msg) {
        this.msg = msg;
    }

    @Override
    public String toString() {
        return com.alibaba.fastjson.JSON.toJSONString(this);
    }
}
